package com.metro.activation.common.beans;

import com.metro.core.vo.inf.IResult;

public enum MyResultCode implements IResult{
	
	ACTIVATION_CODE_NOT_EXIT("100020", "激活码不存在"),
	
	ACTIVATION_CODE_USED("100021", "激活码已经被使用"),
	
	ACTIVATION_CODE_IS_NULL("100022", "激活码为空"),
	
	CLIENTID_IS_NULL("100023", "客户端编号为空"),
	
	CUSTOMERNAME_IS_NULL("100024", "客户名称为空"),
	
	NO_CODES("100025", "没有可导入的激活码"),
	
	PAD_STATUS_CANCEL("100026", "PAD已经被注销"),
	
	CLIENT_IS_NULL("100027", "客户端不存在"),
	
	ACTIVATION_CODE_IS_CANCEL("100028", "激活码已经注销"),
	
	PAD_IS_NULL("100029","设备无效"),
	;
	
	private String code;
	
	private String msg;
	
	private MyResultCode(String resultCode, String resultMsg) {
		code = resultCode;
		msg = resultMsg;
	}

	@Override
	public String getCode() {
		return code;
	}

	@Override
	public String getMsg() {
		return msg;
	}

}
